package com.neu.cpsp.dao;/*
    @author neu.xiangwenjuan
    @create 2022/4/15
*/

import com.neu.cpsp.pojo.EvaluateRecordDetail;
import com.neu.cpsp.pojo.EvaluateRecordDetailEn;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EvaluateRecordDetailMapper {

    List<EvaluateRecordDetailEn> selectAllDetail(String departmentId);

    List<EvaluateRecordDetailEn> selectDetailByEmployee(String employeeIdCard);

    List<EvaluateRecordDetailEn> selectByDepart(String department, String teamGroup, String startTime, String endTime);

    EvaluateRecordDetail selectByPrimaryKey(Integer id);

    int insertDetail(EvaluateRecordDetail evaluateRecordDetail);

    int deleteRecordDetail(Integer id);

    EvaluateRecordDetailEn selectDetailById(Integer id);
}
